#include "coords.h"
#include <cmath>

using namespace common;

RectCoords UnbiasedTransform::doPolarToRect(
    const PolarCoords& a_polar 
    )
{
  /// Смещение рассчитывается по формуле:\n
  /// \f[\mu_a = 
  /// \left[
	/// \begin{array}{c}
  /// E[\tilde{x}|r_m, \phi_m] \\
  /// E[\tilde{y}|r_m, \phi_m] 
	/// \end{array}
	/// \right] = 
  /// \left[
	/// \begin{array}{c}
  /// r_m \cos{\phi_m (e^{-\sigma{_\phi}^2} - e^{-\sigma{_\phi}^2/2)}}\\
  /// r_m \sin{\phi_m (e^{-\sigma{_\phi}^2} - e^{-\sigma{_\phi}^2/2)}} 
	/// \end{array}
  /// \right]
	/// \f]
  
}
